]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agoappDisplay: Fix view-switcher buttons in RTL locales
Florian Müllner [Wed, 20 Feb 2013 16:36:27 +0000 (17:36 +0100)]
appDisplay: Fix view-switcher buttons in RTL locales

https://bugzilla.gnome.org/show_bug.cgi?id=694265

13 years agoworkspacesView: Treat 'gesture-cancel' the same as 'gesture-end'
Florian Müllner [Wed, 20 Feb 2013 07:23:51 +0000 (08:23 +0100)]
workspacesView: Treat 'gesture-cancel' the same as 'gesture-end'

When a swipe scroll completes, we scroll the active workspace into
view. This works fine if the gesture is completed properly by
emitting 'gesture-end', but not when Clutter considers the gesture
cancelled - in that case, the view remains stuck in an intermediate
position. To fix, treat 'gesture-cancel' the same as 'gesture-end'.

https://bugzilla.gnome.org/show_bug.cgi?id=689394

13 years agolayout: Clean up consoleBackgroundGroup
Jasper St. Pierre [Wed, 20 Feb 2013 01:31:56 +0000 (20:31 -0500)]
layout: Clean up consoleBackgroundGroup

We shouldn't leave a reference to a destroyed actor just hanging
around.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agolayout: Rebuild struts and the input region when the Shell starts up
Jasper St. Pierre [Wed, 20 Feb 2013 04:21:35 +0000 (23:21 -0500)]
layout: Rebuild struts and the input region when the Shell starts up

This means that windows will be positioned correctly with respect
to the panel when the shell starts up, and there won't be adjusting
after the session animation zooms in entirely.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agolayout: Remove freezeUpdateRegions/thawUpdateRegions
Jasper St. Pierre [Wed, 20 Feb 2013 04:17:16 +0000 (23:17 -0500)]
layout: Remove freezeUpdateRegions/thawUpdateRegions

Due to a bad rebase causing freezeUpdateCount to never get initialized,
these functions effectively did nothing. Since we're going to go to a
different mechanism for freezing region updates, let's just tear these
out now instead of fixing them before tearing them out.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agolayout: Don't bother updating the regions in the greeter
Jasper St. Pierre [Wed, 20 Feb 2013 02:06:33 +0000 (21:06 -0500)]
layout: Don't bother updating the regions in the greeter

The greeter is always full-screen, so this should never matter.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agopanel: Don't try to begin a grab op while something else has taken a grab
Jasper St. Pierre [Wed, 20 Feb 2013 01:27:11 +0000 (20:27 -0500)]
panel: Don't try to begin a grab op while something else has taken a grab

https://bugzilla.gnome.org/show_bug.cgi?id=694241

13 years agoAppDisplay: fix undefined variable reference
Giovanni Campagna [Wed, 20 Feb 2013 15:16:12 +0000 (16:16 +0100)]
AppDisplay: fix undefined variable reference

https://bugzilla.gnome.org/show_bug.cgi?id=694282

13 years agoAppDisplay: fake a release event to dnd when opening the menu
Giovanni Campagna [Wed, 20 Feb 2013 15:55:02 +0000 (16:55 +0100)]
AppDisplay: fake a release event to dnd when opening the menu

PopupMenuManager eats the next release event, which would otherwise close
the menu, so we need to tell dnd that we're handling it, and no drag should
be started, so it can ungrab the pointer and restore state.

https://bugzilla.gnome.org/show_bug.cgi?id=694276

13 years agoAppDisplay: fix folder popup arrow
Giovanni Campagna [Wed, 20 Feb 2013 13:13:46 +0000 (14:13 +0100)]
AppDisplay: fix folder popup arrow

The arrow origin must be in the coordinate space of the box pointer,
but it cannot be calculated when the box pointer is shown, because it's
not allocated yet, so pass the source to the boxpointer and adjust
the arrow at the next paint.

https://bugzilla.gnome.org/show_bug.cgi?id=694264

13 years agokeyboard: destroy actors when a group is removed
Daiki Ueno [Wed, 20 Feb 2013 10:10:29 +0000 (19:10 +0900)]
keyboard: destroy actors when a group is removed

We can't reuse key actors since signals connected to them are
associated to the original group object.
Fix of commit 824fbe09c2a4f59b009a3dd57d40ec752c2efc89.

https://bugzilla.gnome.org/show_bug.cgi?id=681735

13 years agost-bin: fix a typo in the property setter
Cosimo Cecchi [Wed, 20 Feb 2013 04:00:25 +0000 (23:00 -0500)]
st-bin: fix a typo in the property setter

This got unnoticed for more than 3 years!

https://bugzilla.gnome.org/show_bug.cgi?id=694234

13 years agobackground: don't call destroy() from the destroy handler
Cosimo Cecchi [Wed, 20 Feb 2013 05:04:34 +0000 (00:04 -0500)]
background: don't call destroy() from the destroy handler

We're calling destroy() in a callback of the destroy handler, which
results in an X server crash at login.

https://bugzilla.gnome.org/show_bug.cgi?id=694240

13 years agobackground: destroy actors don't remove them from their parent
Ray Strode [Wed, 20 Feb 2013 02:50:40 +0000 (21:50 -0500)]
background: destroy actors don't remove them from their parent

This reads better, and it also fixes a warning when background
is changed while transitioning to the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agoscreenShield: don't use Bin for BackgroundManager container
Ray Strode [Wed, 20 Feb 2013 02:51:41 +0000 (21:51 -0500)]
screenShield: don't use Bin for BackgroundManager container

St.Bin() really only expects one child at a time, and the
BackgroundManager will add two. This can cause assertion
failures when destroying one of the background actors.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agobackground: s/NULL/null/
Ray Strode [Wed, 20 Feb 2013 02:07:44 +0000 (21:07 -0500)]
background: s/NULL/null/

woops.

13 years agolayout: Fix some indentation
Jasper St. Pierre [Wed, 20 Feb 2013 01:41:29 +0000 (20:41 -0500)]
layout: Fix some indentation

13 years agoBackground: ignore cancellation errors
Ray Strode [Wed, 20 Feb 2013 00:55:56 +0000 (01:55 +0100)]
Background: ignore cancellation errors

If the request cancellable is cancelled, the requesting background was
destroyed, so don't bother reporting the result.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agolayout: Hide the message tray and OSK during the startup animation
Jasper St. Pierre [Wed, 20 Feb 2013 00:56:56 +0000 (19:56 -0500)]
layout: Hide the message tray and OSK during the startup animation

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agolayout: invert isGreeter check
Ray Strode [Wed, 20 Feb 2013 01:21:06 +0000 (20:21 -0500)]
layout: invert isGreeter check

I somehow lost an exclamation point.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agolayout: add back startingUp state variable
Ray Strode [Wed, 20 Feb 2013 01:20:44 +0000 (20:20 -0500)]
layout: add back startingUp state variable

I dropped it on accident during last minute refactoring

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agoBackgroundMenu: fix regression from new background handling
Giovanni Campagna [Wed, 20 Feb 2013 01:18:14 +0000 (02:18 +0100)]
BackgroundMenu: fix regression from new background handling

BackgroundMenu must ensure the actor it attaches to is reactive, and
the layout manager must create a background menu for the first background
too.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agoPunjabi: Translation updated (aalam)
A S Alam [Wed, 20 Feb 2013 01:37:24 +0000 (01:37 +0000)]
Punjabi: Translation updated (aalam)

13 years agoLayoutManager: add missing constant
Giovanni Campagna [Wed, 20 Feb 2013 01:17:55 +0000 (02:17 +0100)]
LayoutManager: add missing constant

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agoWorkspaceThumbnail: fix typo in stacking code
Giovanni Campagna [Wed, 20 Feb 2013 00:44:09 +0000 (01:44 +0100)]
WorkspaceThumbnail: fix typo in stacking code

Was causing thumbnails to be below the background.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

13 years agoworkspace: Don't use grid layout
Adel Gadllah [Tue, 19 Feb 2013 22:13:36 +0000 (23:13 +0100)]
workspace: Don't use grid layout

Right now we arrange the window thumbnails in a grid if there are more than two
rows of them. This was originally intended to reduce the amount of noise in the
thumbnail arrangement. It also made sense when the thumbnails were of a similar
size.

Nowadays we reflect the size of windows in the size of the thumbnail. This
leads to huge amounts of space between some windows when they are grid aligned.
Removing the grid alignment would also lead to larger thumbnails.

https://bugzilla.gnome.org/show_bug.cgi?id=694210

13 years agolayout: don't bother hiding window group
Ray Strode [Wed, 6 Feb 2013 19:17:19 +0000 (14:17 -0500)]
layout: don't bother hiding window group

Right now we hide the window group if we're a greeter.
We did this to avoid showing the background. These days
we don't add the background in the first place, so we
can drop this code.

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agobackground: add slide show support
Ray Strode [Mon, 4 Feb 2013 21:50:36 +0000 (16:50 -0500)]
background: add slide show support

gnome-desktop's background drawing code supports an
XML format for presenting backgrounds based on time of day,
monitor geometry, etc. Now that we don't use gnome-desktop for drawing the
background, we need to implement that support ourselves to maintain
feature parity.

This commit implements that.

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agolayout: rework background handling
Ray Strode [Mon, 24 Dec 2012 14:20:39 +0000 (15:20 +0100)]
layout: rework background handling

This commit updates the code to use mutter's new background
api, and changes the shell's startup animation to be closer
to the mockups.

Based on initial work by Giovanni Campagna

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agologinDialog: add cross fade animation between states
Ray Strode [Wed, 6 Feb 2013 19:18:26 +0000 (14:18 -0500)]
loginDialog: add cross fade animation between states

This commit adds a crossfade between the user selection state
and the user verification state.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agologinDialog: put "Not Listed?" button and user list in separate container
Ray Strode [Wed, 6 Feb 2013 21:37:47 +0000 (16:37 -0500)]
loginDialog: put "Not Listed?" button and user list in separate container

The user list and the "Not Listed?" button get shown and hidden at the
same time, so we can simplify the code by putting them in a new
subcontainer.

This commit creates a userSelectionBox container that both actors get
put in, and changes all the code that shows and hides these actors to
show and hide userSelectionBox instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agologinDialog: move prompt hiding code to hidePrompt
Ray Strode [Mon, 18 Feb 2013 01:41:40 +0000 (20:41 -0500)]
loginDialog: move prompt hiding code to hidePrompt

The sessionList and the prompt hint are all really
part of the prompt, so we should have the code that
hides those things in hidePrompt instead of in
showUserList.

This commit does that.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agologinDialog: use user widget when doing verification
Ray Strode [Wed, 6 Feb 2013 21:17:27 +0000 (16:17 -0500)]
loginDialog: use user widget when doing verification

Right now, when a user item is clicked we remove all other users from
the list and position the item in the appropriate place on screen.

Ultimately, we're going to want to crossfade from the fully populated
list to the user prompt.  Since we're going to need to show the user
avatar in two different positions we can't simply move it.

This commit leaves the user item for the user list, and instead shows
a UserWidget actor during user verification, in the same way the
unlock dialog shows a UserWidget actor during reauthentication.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agounlockDialog: move user widget into separate file
Ray Strode [Mon, 18 Feb 2013 01:54:46 +0000 (20:54 -0500)]
unlockDialog: move user widget into separate file

The user widget is the username and avatar shown on
the unlock dialog.

The login dialog has something very similar.

This commit separates the user widget out to its own
file, so we can use it from the login dialog in a
later commit.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agologinDialog: fade out before starting session
Ray Strode [Wed, 6 Feb 2013 20:18:22 +0000 (15:18 -0500)]
loginDialog: fade out before starting session

Right now we very abruptly kill the login screen
and start the users session without any transition
out.

This commit introduces a fade out of the dialog and
panels.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agologinDialog: drop animations
Ray Strode [Mon, 4 Feb 2013 21:50:46 +0000 (16:50 -0500)]
loginDialog: drop animations

The latest mockups don't animate between states by
resizing actors. Instead, crossfades are employed.

This commit strips out many of the existing animations
as a first step toward implementing the new ones.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agologinDialog: get rid of title label
Ray Strode [Mon, 4 Feb 2013 21:52:14 +0000 (16:52 -0500)]
loginDialog: get rid of title label

the login screen currently says "Sign In" at the top of it.

The latest mock ups don't have that.

This commit drops it.

https://bugzilla.gnome.org/show_bug.cgi?id=694062

13 years agoiconGrid: Dynamically adjust spacing based on columnLimit
Adel Gadllah [Tue, 19 Feb 2013 23:38:11 +0000 (00:38 +0100)]
iconGrid: Dynamically adjust spacing based on columnLimit

Adjust the spacing based on the available width when a columnLimit
is set to evenly place the icons.

https://bugzilla.gnome.org/show_bug.cgi?id=694215

13 years agoappDisplay: Add additional view showing frequently used apps
Florian Müllner [Mon, 18 Feb 2013 19:18:08 +0000 (20:18 +0100)]
appDisplay: Add additional view showing frequently used apps

According to the design mockups, the app picker should follow the
recent view pattern as used by applications, where the user is first
offered a subset of applications he/she is likely to start, and only
then allow switching to the full set of installed applications.
So implement the ability to manage several views in AppDisplay and add
FrequentView as additional view, which uses the existing ShellAppUsage
to display a list of frequently used applications.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoshell-app-usage: Remove unused parameter
Florian Müllner [Mon, 18 Feb 2013 21:54:52 +0000 (22:54 +0100)]
shell-app-usage: Remove unused parameter

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Make folder popups "view-modal"
Florian Müllner [Mon, 18 Feb 2013 20:04:51 +0000 (21:04 +0100)]
appDisplay: Make folder popups "view-modal"

While a group is open, we want to block events on items underneath,
but still allow interaction with components outside the app display
as well as scrolling of the view as a whole.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Create AppFolderIcons for selected categories
Florian Müllner [Thu, 31 Jan 2013 16:14:13 +0000 (17:14 +0100)]
appDisplay: Create AppFolderIcons for selected categories

App folders are intended for grouping some applications, not to
assign a category to every single application, so we will only
create folders for a selected subset of the existing categories.
Software/Alacarte will eventually allow to create/modify those
folders, so store the setting in GSettings so that it can be
shared with those applications.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Add AllView.addFolder() method
Florian Müllner [Thu, 31 Jan 2013 14:32:02 +0000 (15:32 +0100)]
appDisplay: Add AllView.addFolder() method

Adjust AllView to be able to hold both apps and folders, and add an
addFolder() method to insert a folder.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Separate app loading from filling the grid
Florian Müllner [Tue, 19 Feb 2013 20:31:05 +0000 (21:31 +0100)]
appDisplay: Separate app loading from filling the grid

At the moment when loading the applications, each app is inserted
at its correct (alphabetical) position. Avoid this overhead by
loading all apps first, then sort them once and fill the grid with
the sorted actors.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Add new FolderIcon class
Florian Müllner [Thu, 31 Jan 2013 16:13:37 +0000 (17:13 +0100)]
appDisplay: Add new FolderIcon class

FolderIcons will appear in the primary app view along AppIcons, but
represent a group of applications rather than a single application.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Add intermediate stack widget to hold folder popups
Florian Müllner [Mon, 18 Feb 2013 19:19:18 +0000 (20:19 +0100)]
appDisplay: Add intermediate stack widget to hold folder popups

AllView will be updated to allow app folders in addition to app
launchers. Folders will pop up in the existing view, so add an
additional stack widget into the hierarchy which popups will use
as parent.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Make AlphabeticalView an abstract base class of AllView
Florian Müllner [Tue, 19 Feb 2013 22:23:41 +0000 (23:23 +0100)]
appDisplay: Make AlphabeticalView an abstract base class of AllView

We are going to introduce app folders, which will also present an
alphabetical list of applications, but use a different UI. In
preparation for that, split out the item logic into an abstract
base class.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Set a maximum column number
Florian Müllner [Fri, 15 Feb 2013 15:47:39 +0000 (16:47 +0100)]
appDisplay: Set a maximum column number

In particular on widescreen monitors, the number of items in a row
can be overwhelming, so limit the number of columns and center the
view.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Make _loadCategory() a utility function
Florian Müllner [Thu, 31 Jan 2013 14:16:25 +0000 (15:16 +0100)]
appDisplay: Make _loadCategory() a utility function

When we bring back categories as folders, this method will be
useful outside of AppDisplay.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agomessageTray: Move makeCloseButton() into Util
Florian Müllner [Mon, 18 Feb 2013 20:35:02 +0000 (21:35 +0100)]
messageTray: Move makeCloseButton() into Util

The function is useful for other modules as well, so move it to a
more generic place.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Remove unused variables
Florian Müllner [Thu, 31 Jan 2013 00:08:56 +0000 (01:08 +0100)]
appDisplay: Remove unused variables

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Merge AllAppDisplay and ViewByCategories
Florian Müllner [Wed, 30 Jan 2013 22:58:42 +0000 (23:58 +0100)]
appDisplay: Merge AllAppDisplay and ViewByCategories

With categories removed, the separation between AllAppDisplay and
ViewByCategories no longer makes sense. Also use this opportunity
to rename the outdated AllAppDisplay to AppDisplay; it will
eventually be used to manage different views.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Merge AppIcon and AppWellIcon
Florian Müllner [Wed, 30 Jan 2013 22:51:43 +0000 (23:51 +0100)]
appDisplay: Merge AppIcon and AppWellIcon

AppIcon is just a tiny wrapper around BaseIcon, which does not add
anything over using BaseIcon directly, so merge its code with
AppWellIcon. As the concept of the "app well" has not been used
since well before 3.0, use AppIcon as name for the merged class.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Remove categories
Florian Müllner [Wed, 30 Jan 2013 22:42:39 +0000 (23:42 +0100)]
appDisplay: Remove categories

We will eventually display some categories as app folders, but the
existing code doesn't help with the implementation, so remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoAccessibilityMenu: hide when not needed
Giovanni Campagna [Mon, 13 Aug 2012 17:04:03 +0000 (19:04 +0200)]
AccessibilityMenu: hide when not needed

Tie the menu visibility to having at least one a11y feature enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=681528

13 years agoUpdated POTFILES.in
Piotr Drąg [Tue, 19 Feb 2013 19:29:16 +0000 (20:29 +0100)]
Updated POTFILES.in

13 years agotheme: add some transparency to the menu backgrounds
Allan Day [Tue, 19 Feb 2013 18:45:32 +0000 (18:45 +0000)]
theme: add some transparency to the menu backgrounds

They look too hard with a fully opaque black background. A small
bit of transparency will give a softer appearance without impairing
readability.

https://bugzilla.gnome.org/show_bug.cgi?id=694202

13 years agopolKitAgent: Don't crash when we cannot enable/disable the auth agent
Adel Gadllah [Sun, 4 Nov 2012 10:53:22 +0000 (11:53 +0100)]
polKitAgent: Don't crash when we cannot enable/disable the auth agent

This makes it easier to run with jhbuild.

https://bugzilla.gnome.org/show_bug.cgi?id=687556

13 years agol10n: Updated Italian translation
Luca Ferretti [Tue, 19 Feb 2013 10:07:46 +0000 (11:07 +0100)]
l10n: Updated Italian translation

13 years agouserMenu: Use single quotes for non translateable strings
Adel Gadllah [Tue, 19 Feb 2013 07:44:01 +0000 (08:44 +0100)]
userMenu: Use single quotes for non translateable strings

Coding style cleanup ...

13 years agobuild: Bump gnome-desktop requirement to 3.7.90
Rico Tzschichholz [Tue, 19 Feb 2013 06:54:52 +0000 (07:54 +0100)]
build: Bump gnome-desktop requirement to 3.7.90

13 years agooverviewControls: use Params for SlidingControl constructor
Cosimo Cecchi [Tue, 19 Feb 2013 03:35:04 +0000 (22:35 -0500)]
overviewControls: use Params for SlidingControl constructor

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agodash: don't react to window drags
Cosimo Cecchi [Tue, 19 Feb 2013 03:34:27 +0000 (22:34 -0500)]
dash: don't react to window drags

Instead, make the actor half-opaque in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agologinDialog: don't try to stop work spinner if it's already gone
Ray Strode [Wed, 6 Feb 2013 19:36:37 +0000 (14:36 -0500)]
loginDialog: don't try to stop work spinner if it's already gone

This can happen if the dialog gets reset at the wrong moment.

https://bugzilla.gnome.org/show_bug.cgi?id=693757

13 years agologinDialog: fix cancel from "Not Listed?"
Ray Strode [Wed, 6 Feb 2013 22:40:02 +0000 (17:40 -0500)]
loginDialog: fix cancel from "Not Listed?"

Since commit 1ae0fadbf483128e27565baba6e8684bc5defca2 we
no longer start a PAM conversation as soon as the user clicks
the "Not Listed?" button.  Instead we defer starting the PAM
conversation until the user types their username.

Unfortunately, the cancel button resets the dialog back to the
user list indrectly by cancelling the current PAM conversation.

This means if the user hasn't yet entered thier username then
the cancel button doesn't work.

This commit performs a direct dialog reset in the case the
PAM conversation hasn't been started yet.

https://bugzilla.gnome.org/show_bug.cgi?id=693756

13 years agoappDisplay: Fix _ensureIconVisible()
Florian Müllner [Mon, 18 Feb 2013 21:18:09 +0000 (22:18 +0100)]
appDisplay: Fix _ensureIconVisible()

The fade effect was renamed a while ago, but we missed to update
the use in _ensureIconVisible().

https://bugzilla.gnome.org/show_bug.cgi?id=694125

13 years agoscroll-view-fade: Fix [vh]fade_offset property getters
Florian Müllner [Mon, 18 Feb 2013 21:16:28 +0000 (22:16 +0100)]
scroll-view-fade: Fix [vh]fade_offset property getters

The two were mixed up all along, and nobody noticed ...

https://bugzilla.gnome.org/show_bug.cgi?id=694125

13 years agoshellEntry: Don't navigate forward before popping up the menu
Jasper St. Pierre [Mon, 18 Feb 2013 21:06:53 +0000 (16:06 -0500)]
shellEntry: Don't navigate forward before popping up the menu

Doing it before the grab messes up the grab helper's tracking
of where the focus was before, leading to it not tracking the
saved focus correctly, meaning that when we pop the menu back
down with escape, it doesn't restore focus correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=694123

13 years agoshellEntry: Add an animation when opening the menu
Jasper St. Pierre [Mon, 18 Feb 2013 20:55:44 +0000 (15:55 -0500)]
shellEntry: Add an animation when opening the menu

13 years agobackgroundMenu: Don't add an animation to the background menu
Jasper St. Pierre [Mon, 18 Feb 2013 20:51:48 +0000 (15:51 -0500)]
backgroundMenu: Don't add an animation to the background menu

We don't do this for shell entries nor for the message tray
context menu, so it doesn't make sense to do it here, either.

13 years agoshellEntry: Add a modeline
Jasper St. Pierre [Mon, 18 Feb 2013 20:55:30 +0000 (15:55 -0500)]
shellEntry: Add a modeline

13 years agomessageTray: Animate the context menu
Adel Gadllah [Mon, 18 Feb 2013 20:56:21 +0000 (21:56 +0100)]
messageTray: Animate the context menu

Use animation for opening and closing the menu.

13 years agomessageTray: Use 'Clear Message' instead of 'Clear for the context menu
Adel Gadllah [Mon, 18 Feb 2013 20:54:07 +0000 (21:54 +0100)]
messageTray: Use 'Clear Message' instead of 'Clear for the context menu

13 years agobackgroundMenu: Fix a string
Jasper St. Pierre [Mon, 18 Feb 2013 20:46:27 +0000 (15:46 -0500)]
backgroundMenu: Fix a string

The proper terminology is "Background". And while we're at it,
use a real ellipsis.

13 years agoRun the startup animation when we don't have much going on
Jasper St. Pierre [Thu, 14 Feb 2013 03:45:43 +0000 (22:45 -0500)]
Run the startup animation when we don't have much going on

Starting the startup animation when we don't have that much IO
makes it a lot more visible.

Based on a patch by Giovanni Campagna <gcampagna@src.gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agomain: defer startup until we know our session mode
Ray Strode [Mon, 18 Feb 2013 04:02:52 +0000 (23:02 -0500)]
main: defer startup until we know our session mode

commit 92083eaf76fc7a5c2ecdd182896583ab5026ddf0 made
session mode loading an asynchronous operation.

Aspects of the session mode aren't known immediately at
start up. For instance, sessionMode.isGreeter returns
false for greeter sessions until the asynchronous
operation completes.

This commit defers start up processing until the session
mode is fully known.

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agobackgroundMenu: Add a context menu on the background actor
Jasper St. Pierre [Fri, 21 Dec 2012 12:55:00 +0000 (07:55 -0500)]
backgroundMenu: Add a context menu on the background actor

Allow users to change their wallpaper and launch System Settings
from it.

https://bugzilla.gnome.org/show_bug.cgi?id=681540

13 years agoDon't call beginItemDrag() for XDND
Cosimo Cecchi [Sun, 17 Feb 2013 19:40:52 +0000 (14:40 -0500)]
Don't call beginItemDrag() for XDND

The dragged actors are not overview items.

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agoappDisplay: remove unused parameter to AppWellIcon constructor
Cosimo Cecchi [Mon, 18 Feb 2013 04:08:41 +0000 (23:08 -0500)]
appDisplay: remove unused parameter to AppWellIcon constructor

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agoxdndHandler: Add the dummy actor to the uiGroup
Jasper St. Pierre [Fri, 15 Feb 2013 06:58:21 +0000 (01:58 -0500)]
xdndHandler: Add the dummy actor to the uiGroup

While this isn't too urgent, since this won't break if we don't have
a drag actor, I was wondering what the other child in my stage was.

13 years agomessageTray: Don't allow opening while entering/leaving the overview
Jasper St. Pierre [Sun, 17 Feb 2013 19:26:04 +0000 (14:26 -0500)]
messageTray: Don't allow opening while entering/leaving the overview

The complex overview transition code means that there's no easy
way to handle with this right now. Blocking the message tray
while the overview is animating seems like the correct thing to do.

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Jiggle some code around
Jasper St. Pierre [Sun, 17 Feb 2013 19:30:04 +0000 (14:30 -0500)]
messageTray: Jiggle some code around

This is to put state management with state management

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Drop more special overview handling
Jasper St. Pierre [Sun, 17 Feb 2013 18:38:10 +0000 (13:38 -0500)]
messageTray: Drop more special overview handling

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Re-add the hotcorner when the panel is updated
Jasper St. Pierre [Sun, 17 Feb 2013 04:28:29 +0000 (23:28 -0500)]
messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agotheme: Clean up and merge window-caption definitions
Jasper St. Pierre [Mon, 18 Feb 2013 19:09:49 +0000 (14:09 -0500)]
theme: Clean up and merge window-caption definitions

13 years agooverviewControls: don't perform translation when target is met already
Cosimo Cecchi [Mon, 18 Feb 2013 19:17:29 +0000 (14:17 -0500)]
overviewControls: don't perform translation when target is met already

Fixes a regression from ccb81919f79f9f684234deb8f6b1fcdaae3e7965

13 years agouserMenu: Use the session id to detect the current session
Adel Gadllah [Mon, 18 Feb 2013 17:03:13 +0000 (18:03 +0100)]
userMenu: Use the session id to detect the current session

This allows us to detect startx sessions.

https://bugzilla.gnome.org/show_bug.cgi?id=693896

13 years agooverview: Don't display minimized windows differently in the overview
Adel Gadllah [Sun, 17 Feb 2013 13:20:34 +0000 (14:20 +0100)]
overview: Don't display minimized windows differently in the overview

Making them not fully opaque just makes them harder to see and there is no reason why the user should care whether the window is minimized or not when
switching to a window display them like any other windows.

https://bugzilla.gnome.org/show_bug.cgi?id=693991

13 years agopopupMenu: Close all child menus when the main menu is closed
Jasper St. Pierre [Sat, 16 Feb 2013 18:43:01 +0000 (13:43 -0500)]
popupMenu: Close all child menus when the main menu is closed

Otherwise, if something managed to call close(), it wouldn't
close any child menus.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agopopupMenu: Move child menus to be a PopupMenu-only thing
Jasper St. Pierre [Sat, 16 Feb 2013 18:42:17 +0000 (13:42 -0500)]
popupMenu: Move child menus to be a PopupMenu-only thing

It doesn't make sense for combo menus, sections, or submenus
to have child menus.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agopopupMenu: Remove support for nested combo boxes
Jasper St. Pierre [Mon, 18 Feb 2013 01:02:09 +0000 (20:02 -0500)]
popupMenu: Remove support for nested combo boxes

I'm sure this was originally a testcase for nested child
menus, and we never actually inteded any support for this.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agoMinimize fullscreen windows when they end up in the background
Adel Gadllah [Mon, 18 Feb 2013 18:26:13 +0000 (19:26 +0100)]
Minimize fullscreen windows when they end up in the background

Alt-Tab away from a monitor sized on the primary monitor results into the top
panel being displayed on top of the window which looks very bad.

So just hide those windows by minimizing them.

The icon geometry animation does not really make sense for fullscreen windows
so just fade them out.

https://bugzilla.gnome.org/show_bug.cgi?id=693991

13 years agolayout: Fix tray barrier never getting destroyed
Jasper St. Pierre [Mon, 18 Feb 2013 09:45:06 +0000 (04:45 -0500)]
layout: Fix tray barrier never getting destroyed

Due to a typo, we accidentally set trayPressure to null,
making the next branch always fail.

https://bugzilla.gnome.org/show_bug.cgi?id=694070

13 years agoStEntry: reset the cursor when unmapped
Giovanni Campagna [Mon, 18 Feb 2013 00:47:34 +0000 (01:47 +0100)]
StEntry: reset the cursor when unmapped

We cannot reset the cursor at the next leave event, as that might
happen on a NULL stage and cause a BadWindow error, so do it on
unmap (which is guaranteed to happen before the stage is cleared).

https://bugzilla.gnome.org/show_bug.cgi?id=694057

13 years agoOverviewControl: simplify code to add bottom padding
Giovanni Campagna [Mon, 18 Feb 2013 15:25:28 +0000 (16:25 +0100)]
OverviewControl: simplify code to add bottom padding

All the complexity with a custom actor and a generic container was
just to add some padding below the overview controls. Remove that,
and use CSS instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694100

13 years agoRemove builtin settings search provider
Giovanni Campagna [Fri, 28 Dec 2012 17:03:13 +0000 (18:03 +0100)]
Remove builtin settings search provider

It is now provided as a remote provider by gnome-control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=690824

13 years agokeyboard: track XKB group configuration change
Daiki Ueno [Mon, 18 Feb 2013 03:01:04 +0000 (12:01 +0900)]
keyboard: track XKB group configuration change

Since GNOME 3.6, switching XKB layouts changes the group
configuration.  This patch tries to track group configuration changes
and reconstruct UI as needed.  See also caribou bug#694011.

https://bugzilla.gnome.org/show_bug.cgi?id=681735

13 years agol10n: Updated Italian translation
Luca Ferretti [Mon, 18 Feb 2013 13:58:03 +0000 (14:58 +0100)]
l10n: Updated Italian translation

13 years agooverviewControls: update slide in translations from pageEmpty
Cosimo Cecchi [Mon, 18 Feb 2013 06:25:54 +0000 (01:25 -0500)]
overviewControls: update slide in translations from pageEmpty

Now that we unified animation times, move in controls together with the
new view.

https://bugzilla.gnome.org/show_bug.cgi?id=694064

13 years agooverviewControls: fix math for translations when sliding in
Cosimo Cecchi [Mon, 18 Feb 2013 06:24:40 +0000 (01:24 -0500)]
overviewControls: fix math for translations when sliding in

The math to compute translations was wrong when sliding in; also, don't
depend on the slide value for the translation anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=694064